package cn.bookcycle.panda.user.dao;

import cn.bookcycle.panda.user.pojo.DO.AuthsDO;

import java.util.List;

public interface AuthsDao {
    AuthsDO getAuths(String identifier,String credential,String type);
    AuthsDO getAuthsByUserId(String userId);
    boolean updateAuths(AuthsDO authsDO);
    boolean saveAuths(AuthsDO authsDO);
    boolean removeAuths(AuthsDO authsDO);
    List listAuths(AuthsDO authsDO);
}
